﻿<!-- Przyciski do logowania i do rejestracji -->                           
<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
@Html.ValidationSummary(true, "Login was unsuccessful. Please correct the errors and try again.")
@using (Html.BeginForm())
{

    if (!Request.IsAuthenticated)
    {
     <div class="row-fluid">
        <div class="span12">
        <h2>Witaj na portalu ivent.pl!</h2>
                  </div>
    </div>
    
    <div class="row-fluid">
        <div class="span6">
            <form action="./Account/LogOn">
            <strong>Jeśli już posiadasz konto: </strong>
            <button type="submit" class="btn ini-green-btn">
                <i class="icon-check icon-white"></i>Zaloguj</button>
            </form>
        </div>
        <div class="span6">
            <form action="./Account/Register">
            <strong>Dołącz do nas:</strong  >
            <button type="submit" class="btn ini-green-btn">
                <i class="icon-edit icon-white"></i>Zarejestruj się</button>
            </form>
        </div>
    </div>
    }
}